<i-form
    :model="this.data"
    class="app-form"
    ref="form"
    id="ibzcase_main"
    style=""
    @on-validate="formItemValidate.apply(_self, arguments)"
>
    <input style="display:none;">
    <row>
            <i-col
    class="form-layout-container"
    v-show="detailsModel.libname.visible"
    :style="{}"
    :sm="{ span: 12, offset: 0 }"
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 12, offset: 0 }"
    :xl="{ span: 12, offset: 0 }"
>
    <app-form-item
    name="libname"
    :itemRules="this.rules().libname"
    class=""

    :caption="$t('entities.ibzcase.main_form.details.libname')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.libname.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    
<app-picker  
    :formState="formState"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.libname.disabled"
    name="libname"
    deMajorField="name"
    deKeyField="ibzlib"
    :service="service"
    :acParams="{ serviceName: 'IbzLibService', interfaceName: 'FetchDefault'}"
    valueitem="lib"
    :value="data.libname"
    editortype="dropdown"
    style=""
    @formitemvaluechange="onFormItemValueChange($event)">
</app-picker>
</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.modulename.visible"
    :style="{}"
    :sm="{ span: 12, offset: 0 }"
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 12, offset: 0 }"
    :xl="{ span: 12, offset: 0 }"
>
    <app-form-item
    name="modulename"
    :itemRules="this.rules().modulename"
    class=""

    :caption="$t('entities.ibzcase.main_form.details.modulename')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.modulename.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    
<app-picker  
    :formState="formState"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ N_ROOT_EQ:"%lib%" }' 
    :localParam ='{ }' 
    :disabled="detailsModel.modulename.disabled"
    name="modulename"
    deMajorField="name"
    deKeyField="ibzlibmodule"
    :service="service"
    :acParams="{ serviceName: 'IbzLibModuleService', interfaceName: 'FetchDefault'}"
    valueitem="module"
    :value="data.modulename"
    editortype="dropdown"
    style=""
    @formitemvaluechange="onFormItemValueChange($event)">
</app-picker>
</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.type.visible"
    :style="{}"
    :sm="{ span: 12, offset: 0 }"
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 12, offset: 0 }"
    :xl="{ span: 12, offset: 0 }"
>
    <app-form-item
    name="type"
    :itemRules="this.rules().type"
    class=""

    :caption="$t('entities.ibzcase.main_form.details.type')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.type.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    
<dropdown-list 
    v-model="data.type"
    :data="data"
    :context="context"
    :formState="formState"
    :viewparams="viewparams"
    :localContext='{ }' 
    :localParam='{ }' 
    :disabled="detailsModel.type.disabled"
    valueType="string"
    tag="Testcase__type"
    codelistType="STATIC"
    placeholder="请选择..."

></dropdown-list>
</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.stage.visible"
    :style="{}"
    :sm="{ span: 12, offset: 0 }"
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 12, offset: 0 }"
    :xl="{ span: 12, offset: 0 }"
>
    <app-form-item
    name="stage"
    :itemRules="this.rules().stage"
    class=""

    :caption="$t('entities.ibzcase.main_form.details.stage')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.stage.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    
<dropdown-list-mpicker 
  v-model="data.stage"
  :data="data" 
  :context="context"
  :viewparams="viewparams" 
  :localContext ='{ }' 
  :localParam ='{ }' 
  :disabled="detailsModel.stage.disabled"
  tag='Testcase__stage' 
  codelistType='STATIC' 
  placeholder='请选择...' style="">
</dropdown-list-mpicker>

</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.title.visible"
    :style="{}"
    :sm="{ span: 12, offset: 0 }"
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 12, offset: 0 }"
    :xl="{ span: 19, offset: 0 }"
>
    <app-form-item
    name="title"
    :itemRules="this.rules().title"
    class=""

    :caption="$t('entities.ibzcase.main_form.details.title')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.title.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    <input-box 
    v-model="data.title"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.title.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.pri.visible"
    :style="{}"
    :sm="{ span: 12, offset: 0 }"
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 12, offset: 0 }"
    :xl="{ span: 5, offset: 0 }"
>
    <app-form-item
    name="pri"
    :itemRules="this.rules().pri"
    class=""

    :caption="$t('entities.ibzcase.main_form.details.pri')"
    uiStyle="DEFAULT"
    :labelWidth="70"
    :isShowCaption="true"
    :error="detailsModel.pri.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    
<dropdown-list 
    v-model="data.pri"
    :data="data"
    :context="context"
    :formState="formState"
    :viewparams="viewparams"
    :localContext='{ }' 
    :localParam='{ }' 
    :disabled="detailsModel.pri.disabled"
    valueType="string"
    tag="Testcase__pri"
    codelistType="STATIC"
    placeholder="请选择..."

></dropdown-list>
</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.precondition.visible"
    :style="{}"
    :sm="{ span: 12, offset: 0 }"
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 12, offset: 0 }"
    :xl="{ span: 24, offset: 0 }"
>
    <app-form-item
    name="precondition"
    :itemRules="this.rules().precondition"
    class=""

    :caption="$t('entities.ibzcase.main_form.details.precondition')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.precondition.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    <input-box v-model="data.precondition"  :disabled="detailsModel.precondition.disabled" type='textarea' style="" ></input-box>

</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.druipart1.visible"
    :style="{}"
    :sm="{ span: 12, offset: 0 }"
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 12, offset: 0 }"
    :xl="{ span: 24, offset: 0 }"
>
    <app-form-druipart
    
    :formState="formState"
    :isForbidLoad="this.data.srfuf === '0'"
    paramItem="ibzcase" 
    :parentdata='{"srfparentdefname":"CASE","srfparentdename":"IBZ_CASE","SRFPARENTTYPE":"DER1N","srfparentmode":"DER1N_IBZ_LIBCASESTEPS_IBZ_CASE_CASE","SRFDER1NID":"DER1N_IBZ_LIBCASESTEPS_IBZ_CASE_CASE"}'
    :parameters="[
        {
            pathName: 'ibzcases',
            parameterName: 'ibzcase',
        },
    ]"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{}'
    :localParam ='{}'
    parameterName="ibzcase"
    parentName="IbzCase"  
    refviewtype="DEGRIDVIEW9" 
    refreshitems="" 
    :ignorefieldvaluechange="ignorefieldvaluechange"
    viewname="ibz-lib-case-steps-grid-view9" 
    :data="JSON.stringify(this.data)" 
    @drdatasaved="drdatasaved.apply(_self, arguments)"
    style="overflow: auto;">
</app-form-druipart>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.keywords.visible"
    :style="{}"
    :sm="{ span: 12, offset: 0 }"
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 12, offset: 0 }"
    :xl="{ span: 24, offset: 0 }"
>
    <app-form-item
    name="keywords"
    :itemRules="this.rules().keywords"
    class=""

    :caption="$t('entities.ibzcase.main_form.details.keywords')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.keywords.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    <input-box 
    v-model="data.keywords"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.keywords.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>


    </row>
</i-form>
